package com.cwvs.cat.myview;

import android.app.DialogFragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.LinearLayout;

import com.cwvs.cat.R;

public class MyDialogActiveCategory extends DialogFragment implements View.OnClickListener{

	private LinearLayout np_active_number;
	private CustomTextView name_food,name_play,name_study,name_other;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		getDialog().requestWindowFeature(Window.FEATURE_NO_TITLE);
		View v = inflater.inflate(R.layout.dialog_active_category, container,
				false);
		initView(v);
		return v;
	}

	private void initView(View view) {
		
		name_food = (CustomTextView) view.findViewById(R.id.name_food);
		name_play = (CustomTextView) view.findViewById(R.id.name_play);
		name_study = (CustomTextView) view.findViewById(R.id.name_study);
		name_other = (CustomTextView) view.findViewById(R.id.name_other);
		
	}

	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub
		switch (arg0.getId()) {
		case R.id.name_food:
			
			break;
		case R.id.name_play:
			
			break;
		case R.id.name_study:
			
			break;
		case R.id.name_other:
			
			break;
		default:
			break;
		}
	}
	
	
	
	

}
